<template>
  <div class="menu">
    <div style="font-weight: bold; font-size: 28px">WHITE</div>
    <div class="items">
        <el-link style="margin:0 20px" :underline="false" @click="page('/')">HOME</el-link>
        <el-link style="margin:0 20px" :underline="false" @click="page('/about')">ABOUT</el-link>
        <el-link style="margin:0 20px" :underline="false">SERVICE</el-link>
        <el-link style="margin:0 20px" :underline="false" @click="page('/pages')">PAGES</el-link>
        <el-link style="margin:0 20px" :underline="false">BLOG</el-link>
        <el-link style="margin:0 20px" :underline="false" @click="page('/contact')">CONTACT</el-link>
    </div>
  </div>
</template>
<script>
export default {
  name: "WebServeMenu",

  data() {
    return {};
  },

  mounted() {},

  methods: {
    page(path){
      this.$router.push(path)
    },
  },
};
</script>
<style lang="less" scoped>
.menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 48px;

  .items {
    display:flex;
  }
}
</style>
